<template>
  <div class='enable-btn-for-bot'>
    <el-switch v-model="$data.data.enable"
               @change="changeSwitch($event,$data.data,'enable')"
               v-loading="$data.data.cardEnableLoading">
    </el-switch>
  </div>
</template>

<script>
import mixinChangeSwitch from './ChangeSwitch'

export default {
  mixins: [mixinChangeSwitch],
  data () {
    return {
      data: {}
    }
  },
  methods: {}
}
</script>

<style lang="scss">
.enable-btn-for-bot {
  .el-loading-mask {
    border-radius: 10px;
  }
}
</style>
